package ru.pb.auth.network.engine.auth.packets.receivable;

import ru.pb.auth.network.engine.auth.packets.FromAuthClientToAuthServerPacket;
import ru.pb.auth.network.engine.auth.packets.sendable.PROTOCOL_BASE_USER_LEAVE_ACK;

/**
 * Пакет запроса отключения клиента от сервера
 * 
 * @author: DarkSkeleton
 * @version: 1.00
 */
public class PROTOCOL_BASE_USER_LEAVE_REQ extends FromAuthClientToAuthServerPacket
{
	private int f;

	@Override
	public void readImpl()
	{
		f = readH();
	}

	@Override
	public void runImpl()
	{
		_log.info("PROTOCOL_BASE_USER_LEAVE_REQ:" + f);
		getClient().sendPacket(new PROTOCOL_BASE_USER_LEAVE_ACK(f));
	}
}